package mysql

import (
	"gorm.io/gorm"
)

type KillGoods struct {
	gorm.Model
	GoodsName     string  `gorm:":type:varchar(100);not null;" json:"goods_name"`
	OriginalPrice float64 `gorm:"type:decimal(10,2);not null;" json:"original_price"`
	GoodsNum      int     `gorm:"type:int; not null;" json:"goods_num"`
	CurrentPrice  float64 `gorm:"type:decimal(10,2);not null;" json:"current_price"`
	StartTime     string  `gorm:"type:datetime;not null;" json:"start_time"`
	EndTime       string  `gorm:"type:datetime;not null;" json:"end_time"`
	Status        int     `gorm:"type:int;not null;default:0;" json:"status"`
}
